package com.xuecheng.auth.client;

import com.xuecheng.framework.client.XcServiceList;
import com.xuecheng.framework.domain.course.CoursePic;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(XcServiceList.XC_SERVICE_MANAGE_COURSE)
public interface LoadBalancerClient {

    @GetMapping("/coursepic/list/{courseId}")
    CoursePic findCoursePic(@PathVariable("courseId")String courseId);
}
